package cc.fozone.note.db.controller;

import java.util.List;

import cc.fozone.note.beans.Article;
import cc.fozone.note.db.IDBController;

public interface IArticleController extends IDBController {
	public void createTable();
	
	public void insertArticle(Article article);
	
	public List<Article> selectAll();
	
	public Article selectLast();

	public void updateArticle(Article article);
	
	public List<Article> selectByTitle(String title);
	
	public Article selectById(long id);
	
	public void deleteById(long id);
}
